#pragma once

#include "GameObject.h"

class Effect : public GameObject
{
protected:
	float timeSinceChange;
	float frameDelta;
	int frameNum;
	std::vector<std::string> frames;
public:
	Effect(Vector2 pos_, Vector2 scale_);
	void update(const float& timestep);
	bool finished() { return frameNum >= (int)frames.size(); }
};

class BloodEffect : public Effect
{
public:
	BloodEffect(Vector2 pos_);
};

class ExplosionEffect : public Effect
{
public:
	ExplosionEffect(Vector2 pos_);
};